from django.http import HttpResponse, HttpResponseRedirect
from django.template import Template
from django.shortcuts import render_to_response
import logging

from contacts.models import ContactType

logger = logging.getLogger("django")

def insert_contact_type(request):
    logger.debug("insert_contact_type")
    
    ct = ContactType(name='Gadu-Gadu', on_page_desc='Komunikator Gadu-Gadu')
    ct.save()
    
    ct = ContactType(name='Skype', on_page_desc='Komunikator Skype')
    ct.save()

    return HttpResponse("insert_contact_type")


